package com.greenentity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by admin on 2018/5/28.
 */
@Entity
public class Substation {


    /**
     * accountid : 1923
     * longitude : 104.158103
     * guid : b103cdf7-ff07-431f-ac06-35b67ca6a53d
     * orgidname : 电眼县供电公司
     * phone : 11
     * operatetime : 1527478028383
     * spacecount : 2
     * voltagelevel : 110KV
     * position : 成都市永丰路
     * codes : 001
     * runstate : 正常
     * linecount : 1
     * capacityall : 220
     * username : 111
     * tel :
     * delstate : 修改
     * id : 5
     * principalcount : 1
     * latitude : 30.633358
     * names : 110KV永丰变电站
     * orgid : 90
     * capacityform : 1*220
     */
    @Id
    private Long id;
    private Long accountid;
    private double longitude;
    private String guid;
    private String orgidname;
    private String phone;
    private long operatetime;
    private int spacecount;
    private String voltagelevel;
    private String position;
    private String codes;
    private String runstate;
    private int linecount;
    private String capacityall;
    private String username;
    private String tel;
    private String delstate;
    private int principalcount;
    private double latitude;
    private String names;
    private Long orgid;
    private String capacityform;

    @Generated(hash = 64588330)
    public Substation(Long id, Long accountid, double longitude, String guid,
            String orgidname, String phone, long operatetime, int spacecount,
            String voltagelevel, String position, String codes, String runstate,
            int linecount, String capacityall, String username, String tel,
            String delstate, int principalcount, double latitude, String names,
            Long orgid, String capacityform) {
        this.id = id;
        this.accountid = accountid;
        this.longitude = longitude;
        this.guid = guid;
        this.orgidname = orgidname;
        this.phone = phone;
        this.operatetime = operatetime;
        this.spacecount = spacecount;
        this.voltagelevel = voltagelevel;
        this.position = position;
        this.codes = codes;
        this.runstate = runstate;
        this.linecount = linecount;
        this.capacityall = capacityall;
        this.username = username;
        this.tel = tel;
        this.delstate = delstate;
        this.principalcount = principalcount;
        this.latitude = latitude;
        this.names = names;
        this.orgid = orgid;
        this.capacityform = capacityform;
    }

    @Generated(hash = 1525925078)
    public Substation() {
    }

    public Long getAccountid() {
        return accountid;
    }

    public void setAccountid(Long accountid) {
        this.accountid = accountid;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getOrgidname() {
        return orgidname;
    }

    public void setOrgidname(String orgidname) {
        this.orgidname = orgidname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public long getOperatetime() {
        return operatetime;
    }

    public void setOperatetime(long operatetime) {
        this.operatetime = operatetime;
    }

    public int getSpacecount() {
        return spacecount;
    }

    public void setSpacecount(int spacecount) {
        this.spacecount = spacecount;
    }

    public String getVoltagelevel() {
        return voltagelevel;
    }

    public void setVoltagelevel(String voltagelevel) {
        this.voltagelevel = voltagelevel;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getCodes() {
        return codes;
    }

    public void setCodes(String codes) {
        this.codes = codes;
    }

    public String getRunstate() {
        return runstate;
    }

    public void setRunstate(String runstate) {
        this.runstate = runstate;
    }

    public int getLinecount() {
        return linecount;
    }

    public void setLinecount(int linecount) {
        this.linecount = linecount;
    }

    public String getCapacityall() {
        return capacityall;
    }

    public void setCapacityall(String capacityall) {
        this.capacityall = capacityall;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getDelstate() {
        return delstate;
    }

    public void setDelstate(String delstate) {
        this.delstate = delstate;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getPrincipalcount() {
        return principalcount;
    }

    public void setPrincipalcount(int principalcount) {
        this.principalcount = principalcount;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public String getNames() {
        return names;
    }

    public void setNames(String names) {
        this.names = names;
    }

    public Long getOrgid() {
        return orgid;
    }

    public void setOrgid(Long orgid) {
        this.orgid = orgid;
    }

    public String getCapacityform() {
        return capacityform;
    }

    public void setCapacityform(String capacityform) {
        this.capacityform = capacityform;
    }
}
